package com.xiaohe.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaohe.common.utils.PageUtils;
import com.xiaohe.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author CoderHzb
 * @email 986125495@qq.com
 * @date 2022-05-17 20:12:15
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询所有分类以及子分类
     * @return
     */
    List<CategoryEntity> listWithTree();

    void removeMenusByIds(List<Long> asList);
}

